package com.ztesoft.huangfu.learning.springboot.springbootmybaties.dao;

import com.ztesoft.huangfu.learning.springboot.springbootmybaties.entity.Role;

import java.util.List;

/**
 * 　* Author: huangfu.daohui
 * 　* Date: 2018/5/24 19:49
 * 　* Description:  mybaties-generator生成器生成
 *
 **/
public interface RoleMapper {
    int deleteByPrimaryKey(String id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> selectAllRole();
}